package com.spring.demo5.eg5;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author vhans
 */
@Configuration
public class BeanConfig1 {
    @Bean
    public static Service service() {
        return new Service();
    }
}
